package com.ruoyi.livenuniappserver.api.appLogin.service;


import com.ruoyi.common.core.domain.CommonResult;

public interface AppLoginService {
    /**
     * @param phone
     * @Description 腾讯云发送手机短信
     * @Author HH
     * @Date 2023/4/12 9:43
     * @Return com.zhuiYun.project.common.response.CommonResult
     */
    CommonResult sendPhoneCode(String phone);
    /**
     * @param phone
     * @param code
     * @Description 判断手机短信验证码是否正确
     * @Author HH
     * @Date 2023/4/12 13:56
     * @Return com.zhuiYun.project.common.response.CommonResult
     */
    CommonResult verificationCode(String phone, String code);
    CommonResult getToken();

    CommonResult memberLoginByPhone(String phone, String code);
}
